package JavaSEAdvance.day01_extends.d015_homework01;

/**
 * @author Xiao
 * @date 2021/7/15
 */
public class Electrical {
    private String brand;
    private String type;
    private String color;
    private int price;

    @Override
    public String toString() {
        return "Electrical{" +
                "brand='" + brand + '\'' +
                ", type='" + type + '\'' +
                ", color='" + color + '\'' +
                ", price=" + price +
                '}';
    }

    public Electrical() {
    }

    public Electrical(String brand, String type, String color, int price) {
        this.brand = brand;
        this.type = type;
        this.color = color;
        this.price = price;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }
}
